package utils;

public class ArrayUtil {
    public static final void printArray(int nums[]) {
        for (int i = 0; i < nums.length; i++) {
            System.out.print(nums[i] +" ");
        }
        System.out.println();

    }

    public static void printArray(Object[] toArray) {
        for (int i = 0; i < toArray.length; i++) {
            System.out.print(toArray[i] +" ");
        }
        System.out.println();
    }
}
